const { http } = uni.$u

//获得公示表类目
export const getPublicitySelectListByTypesName = data => http.get('/app-api/mini/getPublicitySelectListByTypesName', {data} )
//获得公示表类目选项
export const getPublicitySelectListByClassName = data => http.get('/app-api/mini/getPublicitySelectListByClassName', {data} )
//获得公示表类目选项
export const getformula = data => http.get('/app-api/hutai/formula/get/'+data)

//业务员端保存数据
export const createInform = data => http.post('/app-api/hutai/user-tables-audit/create',data)
//获取已添加列表
//获取按揭房信贷资料列表
export const getHouseList = data => http.get('/app-api/hutai/user-base-table1/list?ui='+data)
//获取按揭住宅信贷资料列表
export const getMortgagingHousingList = data => http.get('/app-api/hutai/user-base-table14/list?ui='+data )
//获取住宅抵押资料列表
export const getResidentialMortgageList = data => http.get('/app-api/hutai/user-base-table15/list?ui='+data)
//获取住宅二次抵押资料列表
export const getResidentialMortgageTwoList = data => http.get('/app-api/hutai/user-base-table16/list?ui='+data )
//获取车辆资料列表
export const getCarList = data => http.get('/app-api/hutai/user-base-table7/list?ui='+data )
//获取商住楼抵押资料列表
export const getOfficeBuildingList = data => http.get('/app-api/hutai/user-base-table8/list?ui='+data )
//获取商住楼二抵押资料列表
export const getOfficeBuildingTwoList = data => http.get('/app-api/hutai/user-base-table9/list?ui='+data)
//获取按揭楼资料列表
export const getCommercialBuildingMortgageList = data => http.get('/app-api/hutai/user-base-table10/list?ui='+data )

//弹窗接口
export const getPublicityNoticeById = data => http.get('/app-api/general/notice/get',{data}  )


// 获取
//获取车辆信息是否填写
export const getIsCar = data => http.get('/app-api/hutai/user-base-table7/get', {data} )
//获取房贷资料
export const getHouseAsset = data => http.get('/app-api/hutai/user-base-table1/get', {data})
//获取保单信息是否填写
export const getSlip = data => http.get('/app-api/hutai/user-base-table2/get?ui='+data)
//获取个人贴息信息是否填写
export const getInterest = data => http.get('/app-api/hutai/user-base-table3/get?ui='+data )
//获取工薪信息是否填写
export const getWages = data => http.get('/app-api/hutai/user-base-table4/get?ui='+data)
//获取公积金信息是否填写
export const getAccumulation = data => http.get('/app-api/hutai/user-base-table5/get?ui='+data )
//获取企业贴息信息是否填写
export const getEnterpriseDiscountInterest = data => http.get('/app-api/hutai/user-base-table6/get?ui='+data )
//获取商住房一次抵押信息是否填写
export const getOfficeBuilding = data => http.get('/app-api/hutai/user-base-table8/get', {data})
//获取商住房二次抵押信息是否填写
export const getOfficeBuildingTwo = data => http.get('/app-api/hutai/user-base-table9/get', {data} )
//获取商业楼按揭信息是否填写
export const getCommercialBuildingMortgage = data => http.get('/app-api/hutai/user-base-table10/get', {data} )
//获取税贷信息是否填写
export const getTax = data => http.get('/app-api/hutai/user-base-table11/get?ui='+data )
//获取小微企业信息是否填写
export const getMicroEnterprises = data => http.get('/app-api/hutai/user-base-table12/get?ui='+data )
//获取信用卡信息是否填写
export const getCard = data => http.get('/app-api/hutai/user-base-table13/get?ui='+data )
//获取按揭住宅信息
export const getMortgagingHousing = data => http.get('/app-api/hutai/user-base-table14/get', {data} )
//获取住宅抵押信息
export const getResidentialMortgage = data => http.get('/app-api/hutai/user-base-table15/get', {data})
//获取住宅二次抵押信息
export const getResidentialMortgageTwo = data => http.get('/app-api/hutai/user-base-table16/get', {data} )




//创建
//创建车辆信息
export const setIsCar = data => http.post('/app-api/hutai/user-base-table7/create', data )
//创建房贷资料
export const setHouseAsset = data => http.post('/app-api/hutai/user-base-table1/create', data )
//创建保单信息
export const setSlip = data => http.post('/app-api/hutai/user-base-table2/create', data )
//创建个人贴息
export const setInterest = data => http.post('/app-api/hutai/user-base-table3/create', data )
//创建工薪信息
export const setWages = data => http.post('/app-api/hutai/user-base-table4/create', data )
//创建公积金信息
export const setAccumulation = data => http.post('/app-api/hutai/user-base-table5/create', data )
//创建企业贴息信息
export const setEnterpriseDiscountInterest = data => http.post('/app-api/hutai/user-base-table6/create', data )
//创建商住房一次抵押信息
export const setOfficeBuilding = data => http.post('/app-api/hutai/user-base-table8/create', data )
//创建商住房二次抵押信息
export const setOfficeBuildingTwo = data => http.post('/app-api/hutai/user-base-table9/create', data )
//创建商业楼按揭抵押信息
export const setCommercialBuildingMortgage = data => http.post('/app-api/hutai/user-base-table10/create', data )
//创建税贷信息
export const setTax = data => http.post('/app-api/hutai/user-base-table11/create', data )
//创建小微企业信息
export const setMicroEnterprises = data => http.post('/app-api/hutai/user-base-table12/create', data )
//创建信用卡信息
export const setCard = data => http.post('/app-api/hutai/user-base-table13/create', data )
//创建按揭住宅信息
export const setMortgagingHousing = data => http.post('/app-api/hutai/user-base-table14/create', data )
//创建住宅抵押信息
export const setResidentialMortgage = data => http.post('/app-api/hutai/user-base-table15/create', data )
//创建住宅二次抵押信息
export const setResidentialMortgageTwo = data => http.post('/app-api/hutai/user-base-table16/create', data )



//更新
//更新车辆信息
export const upDateIsCar = data => http.put('/app-api/hutai/user-base-table7/update', data )
//更新房贷资料
export const upDateHouseAsset = data => http.put('/app-api/hutai/user-base-table1/update', data )
//更新保单信息
export const upDateSlip = data => http.put('/app-api/hutai/user-base-table2/update', data )
//更新个人贴息
export const upDateInterest = data => http.put('/app-api/hutai/user-base-table3/update', data )
//更新工薪信息
export const upDateWages = data => http.put('/app-api/hutai/user-base-table4/update', data )
//更新公积金信息
export const upDateAccumulation = data => http.put('/app-api/hutai/user-base-table5/update', data )
//更新企业贴息信息
export const upDateEnterpriseDiscountInterest = data => http.put('/app-api/hutai/user-base-table6/update', data )
//更新商住房一次抵押信息
export const upDateOfficeBuilding = data => http.put('/app-api/hutai/user-base-table8/update', data )
//更新商住房二次抵押信息
export const upDateOfficeBuildingTwo = data => http.put('/app-api/hutai/user-base-table9/update', data )
//更新商业楼按揭抵押信息
export const upDateCommercialBuildingMortgage = data => http.put('/app-api/hutai/user-base-table10/update', data )
//更新税贷信息
export const upDateTax = data => http.put('/app-api/hutai/user-base-table11/update', data )
//更新小微企业信息
export const upDateMicroEnterprises = data => http.put('/app-api/hutai/user-base-table12/update', data )
//更新信用卡信息
export const upDateCard = data => http.put('/app-api/hutai/user-base-table13/update', data )
//更新按揭住宅信息
export const upDateMortgagingHousing = data => http.put('/app-api/hutai/user-base-table14/update', data )
//更新住宅抵押信息
export const upDateResidentialMortgage = data => http.put('/app-api/hutai/user-base-table15/update', data )
//更新住宅二次抵押信息
export const upDateResidentialMortgageTwo = data => http.put('/app-api/hutai/user-base-table16/update', data )


//获取小区信息
export const getZonePriceListByAreaAndName = data => http.get('/app-api/hutai/zoneprice/getZonePriceListByAreaAndName', {data} )
